package org.zfes.snowier.cloud.zbss.cms.topic.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;

import org.zfes.snowier.cloud.zbss.cms.topic.model.CmsTopicAttachment;
public interface ICmsTopicAttachmentService{

	 Optional<CmsTopicAttachment> loadCmsTopicAttachmentById(Long id);
	
	 void createCmsTopicAttachment(CmsTopicAttachment cmsTopicAttachment);
	
	 void updateCmsTopicAttachment(CmsTopicAttachment cmsTopicAttachment);

	 void deleteCmsTopicAttachment(Long id);
	
	 DataSet loadCmsTopicAttachmentDataSet(Map<String, Object> params);
	 
	 List<CmsTopicAttachment> selectByTopicId(Long topicId);

 	void setCmsTopicAttachmentStatus(Long id, Byte status);
}